Skip to content

Instantly share code, notes, and snippets.

@rexim
rexim / arr.c
Last active June 16, 2026 17:59
Source code from the "Insane Shadow Data Trick in C" YouTube video https://www.youtube.com/watch?v=gtk3RZHwJUA
// cc -o arr arr.c && ./arr
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
typedef struct {
size_t count;
size_t capacity;
} Header;
@natersoz
natersoz / JLinkGDBServer_Multiple_Sessions.md
Last active June 16, 2026 17:56
Mutiple Debug Sessions with JLinkGDBServer

Running Multiple JLinkGDBServer Sessions

The documentation for the JLinkGDBServer command line options is incomplete. Getting multiple debug sessions running using JLinkGDBServer is a trial/error/google and repeat process. Here are bare-bones instructions for getting multiple JLinkGDBServer sessions over USB running on an OSX host. An ethernet configuration will differ. These instructions should work for Linux and Windows as well but have not been tested in those environments.

Get the debug interface serial number

The serial number is printed whenever the JLinkGDBServer program is started and it attaches to a SEGGER JLink debug interface (either a USB connected pod or on-boad SWO interface). Attach only one of the units for debugging and run the JLinkGDBServer program. The serial number of the JLink debug interface is a 9 digit number prefixed with the text S/N:.

The Serial Number may also be printed on the debug

Audible Export Guide

This guide walks you through the process of downloading and converting your Audible audiobooks using audible-cli and AAXtoMP3.

Requirements

You’ll need the following tools:

  • audible-cli: A command-line tool for downloading Audible audiobooks.
  • AAXtoMP3: A script to convert AAX files into MP3 or M4B formats.
@oofnikj
oofnikj / answerfile
Last active June 16, 2026 17:54
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@testcodermobell
testcodermobell / hotspot.html
Last active June 16, 2026 17:48
WiFi Hotspot - Bootstrap Template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Free WiFi - Hotspot</title>
@Klerith
Klerith / flutter-instalaciones.md
Last active June 16, 2026 17:40
Instalaciones del curso de Flutter - Móvil de cero a experto
// ============================================================
// Job Alert 自動整理工具|評分版
// 支援平台:LinkedIn + 104 人力銀行
//
// 【使用前準備】
// 1. LinkedIn:登入後搜尋職缺 → 點「設定提醒」→ 選擇每天寄 Email
// 2. 104:登入 → MY104 → 工作配對 → 訂閱・管理通知 → 開啟每日配對信
// 3. 確認上面兩個 Email 會寄到你的 Gmail
// 4. 修改下方「✏️ 個人設定區」的關鍵字
// 5. 執行 setupDailyTrigger(只需一次)